Enter a type and click search.




Results for Magento\Catalog\Model\Product

File: vendor/magento/module-swatches/etc/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="exclude_swatch_attribute"
            type="Magento\Swatches\Model\Plugin\Product"></plugin>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration also tells the object manager to use the Magento\Swatches\Model\Plugin\Product plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-configurable-product/etc/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="product_identities_extender"
            type="Magento\ConfigurableProduct\Model\Plugin\ProductIdentitiesExtender"></plugin>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration also tells the object manager to use the Magento\ConfigurableProduct\Model\Plugin\ProductIdentitiesExtender plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-catalog-inventory/etc/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="catalogInventoryAfterLoad"
            type="Magento\CatalogInventory\Model\Plugin\AfterProductLoad"></plugin>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration also tells the object manager to use the Magento\CatalogInventory\Model\Plugin\AfterProductLoad plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-cms/etc/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="cms"
            type="Magento\Cms\Model\Plugin\Product"
            sortOrder="100"></plugin>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration also tells the object manager to use the Magento\Cms\Model\Plugin\Product plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-bundle/etc/frontend/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="bundle"
            type="Magento\Bundle\Model\Plugin\Frontend\Product"
            sortOrder="100"></plugin>
</type>

This is a type configuration.

This configuration is for the frontend area. This is the area that corresponds with the cart sub-application.

This configuration also tells the object manager to use the Magento\Bundle\Model\Plugin\Frontend\Product plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-bundle/etc/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="bundle"
            type="Magento\Bundle\Model\Plugin\Product"
            sortOrder="100"></plugin>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration also tells the object manager to use the Magento\Bundle\Model\Plugin\Product plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-catalog-rule/etc/webapi_rest/di.xml

<type name="Magento\Catalog\Model\Product">
    <plugin name="apply_catalog_rules_after_product_save_and_reindex"
            type="Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRulesAfterReindex"></plugin>
</type>

This is a type configuration.

This configuration is for the webapi_rest area. This is the area that corresponds with the REST Api sub-application.

This configuration also tells the object manager to use the Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRulesAfterReindex plugin class with Magento\Catalog\Model\Product objects.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-catalog/etc/di.xml

<type name="Magento\Catalog\Model\Product">
    <arguments>
        <argument name="catalogProductStatus" xsi:type="object">
            Magento\Catalog\Model\Product\Attribute\Source\Status\Proxy
        </argument>
        <argument name="productLink" xsi:type="object">
            Magento\Catalog\Model\Product\Link\Proxy
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Catalog\Model\Product object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/module-catalog/etc/di.xml

<type name="Magento\Framework\Model\ActionValidator\RemoveAction">
    <arguments>
        <argument name="protectedModels" xsi:type="array">
            <item name="catalogCategory" xsi:type="string">
                Magento\Catalog\Model\Category
            </item>
            <item name="catalogProduct" xsi:type="string">
                Magento\Catalog\Model\Product
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Model\ActionValidator\RemoveAction object that the following arguments should be used in the foo object's constructor.

  • $protectedModels = [...items...];

File: vendor/magento/module-catalog/etc/di.xml

<preference for="Magento\Catalog\Api\Data\ProductInterface"
            type="Magento\Catalog\Model\Product"></preference>

This is a preference configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This preference configuration tells the Object Manager when a user wants a Magento\Catalog\Api\Data\ProductInterface object that it should return a Magento\Catalog\Model\Product object.

Results for Magento\Catalog\Model\Product

File: vendor/magento/module-catalog/etc/webapi_soap/di.xml

<type name="Magento\Framework\Reflection\DataObjectProcessor">
    <arguments>
        <argument name="processors" xsi:type="array">
            <item name="Magento\Catalog\Model\Product"
                  xsi:type="object">
                Magento\Catalog\Model\Product\Webapi\ProductOutputProcessor\Proxy
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the webapi_soap area. This is the area that corresponds with the SOAP Api sub-application.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Reflection\DataObjectProcessor object that the following arguments should be used in the foo object's constructor.

  • $processors = [...items...];
Results for Magento\Catalog\Model\Product

File: vendor/magento/module-catalog/etc/webapi_rest/di.xml

<type name="Magento\Framework\Reflection\DataObjectProcessor">
    <arguments>
        <argument name="processors" xsi:type="array">
            <item name="Magento\Catalog\Model\Product"
                  xsi:type="object">
                Magento\Catalog\Model\Product\Webapi\ProductOutputProcessor\Proxy
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the webapi_rest area. This is the area that corresponds with the REST Api sub-application.

This configuration tells the Object Manager that when a user wants a Magento\Framework\Reflection\DataObjectProcessor object that the following arguments should be used in the foo object's constructor.

  • $processors = [...items...];